package com.wcy.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wcy.entity.LearningResource;
import com.wcy.mapper.LearningResourceMapper;
import com.wcy.service.ILearningResourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 吴传亿
 * @since 2025-04-27
 */
@Service
public class LearningResourceServiceImpl extends ServiceImpl<LearningResourceMapper, LearningResource> implements ILearningResourceService {
    @Resource
    private LearningResourceMapper learningResourceMapper;

    @Override
    public Page<LearningResource> page(Page<LearningResource> page, Wrapper<LearningResource> wrapper) {
        return learningResourceMapper.selectPage(page, wrapper);
    }
}
